<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      margin: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: black;
    }

    .container {
      font-size: 12px;
      width: 30em;
      height: 30em;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      animation: change-color 5s linear infinite;
    }

    .container div {
      position: absolute;
      --diameter: calc(15% + (var(--n) - 1) * 10%);
      width: var(--diameter);
      height: var(--diameter);
      color: lime;
      border-radius: 50%;
      border-width: 1em 1em 0 0;
      border-style: solid;
      border-color: currentColor transparent transparent transparent;
      animation: rotating linear infinite;
      animation-duration: calc(5s / (9 - var(--n) + 1)), 5s;
    }

    .container div:nth-child(1) {--n: 1}
    .container div:nth-child(2) {--n: 2}
    .container div:nth-child(3) {--n: 3}
    .container div:nth-child(4) {--n: 4}
    .container div:nth-child(5) {--n: 5}
    .container div:nth-child(6) {--n: 6}
    .container div:nth-child(7) {--n: 7}
    .container div:nth-child(8) {--n: 8}
    .container div:nth-child(9) {--n: 9}

    @keyframes rotating {
      to {
        transform: rotate(1turn);
      }
    }

    @keyframes change-color {
      to {
        filter: hue-rotate(1turn);
      }
    }

  </style>
</head>
<body>
  <figure class="container">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
  </figure>
</body>
</html>